package net.huashitong.ssydt.provider.task.service;


import net.huashitong.ssydt.base.service.LongService;
import net.huashitong.ssydt.task.entity.SsTaskTaskRecord;

/**
 * @author <a href="mailto:yhy23456@163.com">huiyang.yu</a>
 * @since 2018.01.22
 */
public interface SsTaskTaskRecordService extends LongService<SsTaskTaskRecord> {

    SsTaskTaskRecord getNowDateAutoCreateByUserIdWidthTaskId(String userId, Long taskId);

    SsTaskTaskRecord getByUserIdWidthTaskIdWidthBelongDate(String userId, Long taskId, String belongDate);

    void finishTask(String userId, long taskId);
}
